package model;

import java.util.HashSet;
import java.util.Set;


/**
 * 新闻类型
 * @author Shen
 *
 */

public class NewType {

	private Integer id;
	private String newTypeName;
	private Set<User> user = new HashSet<User>();
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public Set<User> getUser() {
		return user;
	}

	public void setUser(Set<User> user) {
		this.user = user;
	}

	//ID不允许更改
	public Integer getId() {
		return id;
	}
	
	public String getNewTypeName() {
		return newTypeName;
	}
	public void setNewTypeName(String newTypeName) {
		this.newTypeName = newTypeName;
	}
	
	
	
}
